package com.my.goodsmanage.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.goodsmanage.dao.UserMapper;
import com.my.goodsmanage.entity.User;
import com.my.goodsmanage.service.UserService;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;


/**
 * @author 徐佳辉
 * @date 2020/8/4 18:54
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {


    @Override
    public User selectByNameOrPhone(String user) {
        return baseMapper.selectByNameOrPhone(user);
    }
}
